<template>
  <div>
    <el-card class="box-card">
      <p
        v-for="(line,index) in content.welcomeMessage"
        :key="index"
        style="text-align:justify"
      >{{line}}</p>
    </el-card>
    <div style="text-align:center">
      <br />
      <el-button type="primary" @click="$emit('switch')" style="width:50%">开始</el-button>
    </div>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  name: "welcView",
  computed: {
    ...mapState(["current", "content", "defaultHead"]),
  },
};
</script>